#define  _CRT_SECURE_NO_WARNINGS
#include "Queue.h"

void QueueTest()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 0);

	//QueuePop(&q);
	//QueuePop(&q);
	//QueuePop(&q);
	//QueuePop(&q);
	////QueuePop(&q);

	QDatatype ret = QueueBack(&q);
	printf("%d ", ret);

	ret = QueueFront(&q);
	printf("%d ", ret);

	int size = QueueSize(&q);
	printf("%d ", size);

	QueueDestroy(&q);
}

int main()
{
	QueueTest();
	return 0;
}